package com.twp.imtest;

import io.rong.imkit.RongIM;
import io.rong.imlib.model.UserInfo;

public class UserInfoProvider implements RongIM.UserInfoProvider {
    @Override
    public UserInfo getUserInfo(String userID) {
        String name = userID.equals("123") ? "Colin" : "杨依舟";
        return new UserInfo(userID, name, null);
    }
}
